﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QLT_Public;
using QLT_Data;
using System.Data;

namespace QLT_BLL
{
   public  class CTHoaDonNhap_BLL
    {
       CTHoaDonNhap_Data cTHoaDonNhap = new CTHoaDonNhap_Data();
       public DataTable LayDuLieu()
       {
           return cTHoaDonNhap.LayDuLieu();
       }
       public DataTable taoBang(string sql)
       {
           return cTHoaDonNhap.TaoBang(sql);
       }
       public int insert_CTHoaDonNhap(CTHoaDonNhap_Public maHDN, CTHoaDonNhap_Public maThuoc, CTHoaDonNhap_Public ngaySX, CTHoaDonNhap_Public soLuong,CTHoaDonNhap_Public dVT, CTHoaDonNhap_Public giaNhap, CTHoaDonNhap_Public nguoiGiao, CTHoaDonNhap_Public maNV)

       {
           return cTHoaDonNhap.Insert_CTHoaDonNhap(maHDN, maThuoc, ngaySX, soLuong,dVT,  giaNhap, nguoiGiao, maNV);
       }
       public int update_CTHoaDonNhap(CTHoaDonNhap_Public maHDN, CTHoaDonNhap_Public maThuoc, CTHoaDonNhap_Public ngaySX, CTHoaDonNhap_Public soLuong,CTHoaDonNhap_Public dVT, CTHoaDonNhap_Public giaNhap, CTHoaDonNhap_Public nguoiGiao, CTHoaDonNhap_Public maNV)

       {
           return cTHoaDonNhap.Update_CTHoaDonNhap(maHDN, maThuoc, ngaySX, soLuong,dVT, giaNhap, nguoiGiao, maNV);
       }
       public int delete_CTHoaDonNhap(CTHoaDonNhap_Public maHDN, CTHoaDonNhap_Public maThuoc)
       {
          return cTHoaDonNhap.Delete_CTHoaDonNhap(maHDN, maThuoc);
       }
    }
}
